package com.arvinclub.model.util;

/**
 * 禁言异常：被禁言状态下尝试发言会抛出该异常
 */
public class MutedException extends RuntimeException {
    public MutedException() {
    }

    public MutedException(String deadline) {
        super("你已被禁言，截止日期：" + deadline);
    }

    public MutedException(String message, Throwable cause) {
        super(message, cause);
    }

    public MutedException(Throwable cause) {
        super(cause);
    }

    public MutedException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
